package com.feicheng.persistence.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.persistence.entity.Category;
import com.feicheng.persistence.model.CategoryPagePojo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cailongyang
 * @since 2022-01-10
 */
public interface ICategoryService extends IService<Category> {

	Page<CategoryPagePojo> selectCategorysByPage(IPage<CategoryPagePojo> page, @Param(Constants.WRAPPER) Wrapper wrapper);
	
	List<CategoryPagePojo> selectCategorysAll(Wrapper wrapper);
}
